package com.project.fiveCerealsSavoury.service;

import java.util.Date;
import java.util.List;

import com.project.fiveCerealsSavoury.domain.LogisticsDomain;
import com.project.fiveCerealsSavoury.domain.LogitsticsState;
import com.project.fiveCerealsSavoury.exception.BizException;
import com.project.fiveCerealsSavoury.transfer.LogAdd;

public interface LogisticsService {
	/**
	 * 添加物流信息
	 * @param logisticsDomain
	 * @return
	 */
	public boolean  add(LogisticsDomain logisticsDomain) throws BizException;
	/**
	 * 添加物流信息
	 * @param logisticsDomain
	 * @return
	 */
	public boolean  addLog(LogAdd logAdd) throws BizException;
	/**
	 * 查询送货人状态 
	 * @param delivery_id
	 * @param deliver_goods
	 * @return
	 */
	public List<LogisticsDomain> queryNottosend(Integer waybillId,LogitsticsState logitsticsState) throws BizException;
	/**
	 *  根据时间查询模糊查询
	 * @param delivery_time
	 * @return
	 */
	public List<LogisticsDomain> queryTime(Date delivery_time) throws BizException;
	/**
	 * 修改送货人状态
	 * @param logitsticsState
	 */
	public void amend(LogitsticsState logitsticsState) throws BizException;
	
	/**
	 * 查询订单属性
	 * @param id
	 * @return
	 * @throws BizException 
	 */
	public List<LogisticsDomain> queryIndent(Integer id) throws BizException;
	
}
